<script language="JavaScript" src="/js/controle_placar.js"></script>
<?php
$form = $this->form;
?>

<div id="conteudoSemSidebar">
	<div id="aposta">
		<div id="infoJogo">
			<h1 class="center">
				<span id="nome_time_a"><?php echo $this->time_a ?></span> x <span id="nome_time_b"><?php echo $this->time_b ?></span>
			</h2>
			<div id="info2">
				<p class="center">Campeonato <?php echo $this->campeonato ?></p>
				<p class="center"><?php echo $this->data ?></p>
			</div>
			<?php if (isset($this->dados)): ?>
				<p class="center"><?php echo $this->dados ?></p>
			<?php endif; ?>
			<?php if ($form != null):?>
				<form action="<?php echo $form->getAction() ?>" method="<?php echo $form->getMethod() ?>">
					<table class="formAposta">
						<tr>
							<td><?php echo $form->gols_time_a->renderLabel(); ?></td>
							<td class="maior"><?php echo $form->gols_time_a->renderViewHelper(); ?></td>
							<td><?php echo $form->mais_A->renderViewHelper(); ?></td>
							<td><?php echo $form->menos_A->renderViewHelper(); ?></td>
						</tr>
						<tr>
							<td><?php echo $form->gols_time_b->renderLabel(); ?></td>
							<td class="maior"><?php echo $form->gols_time_b->renderViewHelper(); ?></td>
							<td><?php echo $form->mais_B->renderViewHelper(); ?></td>
							<td><?php echo $form->menos_B->renderViewHelper(); ?></td>
						</tr>
						<tr>
							<td><?php echo $form->ordem_de_gols->renderLabel(); ?></td>
							<td class="maior"><?php echo $form->ordem_de_gols->renderViewHelper(); ?></td>
							<td colspan="2">
								<?php echo $form->sobe_gol->renderViewHelper(); ?>
								<?php echo $form->desce_gol->renderViewHelper(); ?>
							</td>
						</tr>
						<tr>
							<td colspan="4">
								<?php echo $form->submit->renderViewHelper(); ?>
							</td>
						</tr>
						<tr>
							<td colspan="4">
								<?php echo $form->placar_parcial->renderViewHelper(); ?>
								<?php echo $form->placar_final->renderViewHelper(); ?>
							</td>
						</tr>
					</table>					
				</form>
			<?php endif; ?>
		</div>
		
		</table>
	</div>
</div>